package com.castle.fortress.admin.flowable.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.flowable.entity.FlowableAppEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 * 流程应用管理表Mapper 接口
 *
 * @author castle
 * @since 2022-09-26
 */
public interface FlowableAppMapper extends BaseMapper<FlowableAppEntity> {

	List<FlowableAppEntity> queryList(@Param("map")Map<String, Long> pageMap, @Param("flowableAppEntity") FlowableAppEntity flowableAppEntity);


    List<FlowableAppEntity> ListWithAuth(@Param("map")Map<String, Long> pageMap, @Param("flowableAppEntity") FlowableAppEntity flowableAppEntity,@Param("authIds") List<Long> authIds);

    Long countWithAuth(@Param("flowableAppEntity") FlowableAppEntity flowableAppEntity,@Param("authIds") List<Long> authIds);
}
